
<h1>Agregar Imagen</h1>
<div id="stylized" class="myform">
<?php
echo $this->Form->create('Imagene', array( 'class'=>'form','type' => 'file'));
echo $this->Form->input('dir',array('type'=>'hidden'));
echo $this->Form->input('filename',array('type'=>'file'));
echo $this->Form->input('producto_id', array('label' => 'Producto:'));
echo $this->Form->end(array('label' => 'Guardar','class' => 'button2'));
?>
</div>